projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f34206b
)
(Fstring): Use make_string_from_bytes.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 21 Mar 1998 18:00:38 +0000
(18:00 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 21 Mar 1998 18:00:38 +0000
(18:00 +0000)
(Fcompose_string): Likewise.
src/charset.c
patch
|
blob
|
history
diff --git
a/src/charset.c
b/src/charset.c
index af8a2490dafefddc078213e1aaa4e8c717a0d54c..acc24a29e25f8287ea654d35ca66296a7f06c0f8 100644
(file)
--- a/
src/charset.c
+++ b/
src/charset.c
@@
-1149,7
+1149,7
@@
DEFUN ("string", Fstring, Sstring, 1, MANY, 0,
p += len;
}
- val = make_
multibyte_string
(buf, n, p - buf);
+ val = make_
string_from_bytes
(buf, n, p - buf);
return val;
}
@@
-1565,7
+1565,7
@@
DEFUN ("compose-string", Fcompose_string, Scompose_string,
/* STR contains only one character, which can't be composed. */
error ("Too short string to be composed: %s", XSTRING (str)->data);
- return make_
multibyte_string
(buf, 1, i);
+ return make_
string_from_bytes
(buf, 1, i);
}
\f